sfiles = inst_fetch_tb.v inst_fetch.v pc_reg.v rom.v
topmodule = inst_fetch_tb
out = inst_fetch.out

build:
	iverilog -s $(topmodule) -o $(out) $(sfiles)

run: $(out)
	vvp $(out)

$(out):
	iverilog -s $(topmodule) -o $(out) $(sfiles)

clean:
	rm $(out)